package com.guigu.buy.service;

import com.github.pagehelper.PageInfo;
import com.guigu.buy.dto.PurOrder_Details;
import com.guigu.buy.dto.PurOrder_Supplier;
import com.guigu.buy.pojo.PurchaseOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.buy.pojo.PurchaseOrderDetails;
import com.guigu.buy.vo.PurAllVo;
import com.guigu.buy.vo.PurOrderVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author com.guigu
 * @since 2024-05-15
 */
public interface IPurchaseOrderService extends IService<PurchaseOrder> {

    String getMaxDesignId();

    boolean add(PurOrder_Details purOrder_details,String number);

    PageInfo<PurOrder_Supplier> selPurOrder(int pageNo, int pageSize, PurOrderVo vo);

    PageInfo<PurOrder_Supplier> queryAll(int pageNo, int pageSize, PurAllVo vo);

    PageInfo<PurchaseOrder> page(int parentId, int pageNo, int pageSize);
}
